import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;


public class iLink {
	static public int num=0;
	
	public static void main(String[] args) {
		try {
			ServerSocket s=new ServerSocket(7777);
			while(true)
			{	Socket client=s.accept();
				num++;
			 	ContentExchange ce=new ContentExchange(client);
			 	ce.start();
			}
		}catch (IOException e) {
			e.printStackTrace();
		}
	}
	
}

